package com.geekhalo.admin.domain.user.enable;

import com.geekhalo.lego.core.command.CommandService;
import com.geekhalo.lego.core.command.CommandServiceDefinition;
import com.geekhalo.lego.core.command.CommandMethodDefinition;

import com.geekhalo.admin.domain.user.User;
import com.geekhalo.admin.domain.user.UserCommandRepository;

import com.geekhalo.admin.domain.user.enable.EnableUserCommand;
import com.geekhalo.admin.domain.user.enable.EnableUserContext;
import java.lang.Void;


@CommandServiceDefinition(domainClass = User.class, repositoryClass = UserCommandRepository.class)
public interface EnableUserService
    extends CommandService<EnableUserCommand, Void> {

    @Override
    @CommandMethodDefinition(contextClass = EnableUserContext.class)
    Void execute(EnableUserCommand command);
}
